ps -aux | grep lx | grep ./main > file 
ps -aux | grep lx | grep test.py >> file
awk '{print $2}' file > out
awk '{print "kill -9 "$0}' out > cmd
source cmd
rm file out cmd
echo "kill z status process success."